﻿//
// Copyright (c) 2024 BPer
//
#ifndef BPERDECODER_INCLUDE_BPERDECODERFACTORY_H_
#define BPERDECODER_INCLUDE_BPERDECODERFACTORY_H_
#include <bperdecoder/BPerAudioDecoder.h>
#include <bperdecoder/BPerVideoDecoder.h>


class BPerDecoderFactory {
public:
	BPerDecoderFactory();
	virtual ~BPerDecoderFactory();

	BPerAudioDecoder* createAudioDecoder(BPerAudioCodec paet,BPerAudioParam *pcontext);
	BPerAudioDecoder* createAudioDecoder(BPerAudioParam *pcontext);
	BPerVideoDecoder* createVideoDecoder(BPerVideoCodec paet,BPerVideoInfo *pcontext);
	BPerVideoDecoder* createFfmpegVideoDecoder(BPerVideoCodec paet,BPerVideoInfo *pcontext);
	BPerVideoDecoder* createVideoDecoder(BPerVideoInfo *pcontext);
};

#endif /* BPERDECODER_INCLUDE_BPERDECODERFACTORY_H_ */
